package ltd.jdsoft.cute.perm.dao;

import org.springframework.stereotype.Repository;

import ltd.jdsoft.cute.perm.model.User;

@Repository
public interface UserDAO {

  void add(User user);

  User getById(long id);

  User getByLoginName(String loginName);
}
